-- GENERATED SPELL FOR [Eversong Ranger] --


function spell0_15938(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15938', 621, 1)
end

function Sorts_15938(pUnit, Event)
local choix_sorts_15938 = math.random(0, 0)
if choix_sorts_15938 == 0 then
pUnit:RegisterEvent('spell0_15938', 1, 1)
end
end

function mob15938_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15938', math.random(1500, 3000), 1)
end

function mob15938_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15938_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15938_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15938, 1, 'mob15938_Action')
RegisterUnitEvent(15938, 2, 'mob15938_Leave')
RegisterUnitEvent(15938, 3, 'mob15938_Kill')
RegisterUnitEvent(15938, 4, 'mob15938_Die')
